home *** CD-ROM | disk | FTP | other *** search
- 181
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WaitTillActive
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWaitTillActive pauses execution until a specified window becomes the active
- --- RECORDSEPARATOR ---
- one.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWaitTillActive( WindowHandle )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- WindowHandle is the handle of the window to wait for.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Void.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- baWaitTillActive( baWinHandle() ) --
- --- RECORDSEPARATOR ---
- wait till Director window becomes the active
- --- RECORDSEPARATOR ---
- one
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- baWaitTillActive( baWinHandle() )
- --- RECORDSEPARATOR ---
- -- wait till Authorware window becomes the
- --- RECORDSEPARATOR ---
- active one
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- This function is mainly intended to be used with the RunProgram function. The
- --- RECORDSEPARATOR ---
- RunProgram function can pause execution until the jumped to program quits. This
- --- RECORDSEPARATOR ---
- may cause a problem if the user switches back to the Authorware program without
- --- RECORDSEPARATOR ---
- quitting the jumped to program. If you use the RunProgram without the pause
- --- RECORDSEPARATOR ---
- option, you can use this function (after a short wait) to resume the program if the
- --- RECORDSEPARATOR ---
- user switches back to it.
- --- RECORDSEPARATOR ---
- This function is provided for compatibility with older versions. New applications
- --- RECORDSEPARATOR ---
- should use the baWaitForWindow function.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWaitForWindow
- --- RECORDSEPARATOR ---
- baNextActiveWindow
- --- RECORDSEPARATOR ---
- baActiveWindow